package com.CST.vo.cb;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReportAmortizationDataVO {
    public Integer year;               // 年
    public Integer month;              // 月
    public String pDeptCode;
    public String pDeptName;
    public String deptCode;            // 科室编码
    public String deptName;            // 科室名称
    @TableField("AMOUNT")
    public BigDecimal amount = BigDecimal.ZERO;              // 金额
    @TableField("DIRECT_COST")
    public BigDecimal directCost = BigDecimal.ZERO;          // 直接成本
    @TableField("INDIRECT_COST")
    public BigDecimal indirectCost = BigDecimal.ZERO;        // 间接成本
    public String amortizationCode;         // 分摊规则编码
    public String amortizationName;         // 分摊规则名称
    public String costItemCode;        // 成本项目编码
    public String costItemName;        // 成本项目名称
    public String yard;                // 院区
    public String deptTypeId;          // 科室属性编号
    public String deptTypeName;        // 科室属性名称
    public String accountCode;            // 会计分类编号
    public String accountName;            // 会计分类名称

    public BigDecimal personnel = new BigDecimal(0);               // 人员经费
    public BigDecimal drug = new BigDecimal(0);                    // 药品费
    public BigDecimal sanitaryMaterials = new BigDecimal(0);       // 卫生材料费
    public BigDecimal fixed = new BigDecimal(0);                   // 固定资产折旧费
    public BigDecimal intangible = new BigDecimal(0);              // 无形资产摊销
    public BigDecimal risk = new BigDecimal(0);                    // 提取医疗风险基金
    public BigDecimal other = new BigDecimal(0);                   // 其他费用
    public BigDecimal sum = new BigDecimal(0);
    
    public BigDecimal directPersonnel = new BigDecimal(0);
    public BigDecimal indirectPersonnel = new BigDecimal(0);
    public BigDecimal totalPersonnel = BigDecimal.ZERO;
    public BigDecimal proportionPersonnel = BigDecimal.ZERO;
    
    public BigDecimal directDrug = new BigDecimal(0);
    public BigDecimal indirectDrug = new BigDecimal(0);
    public BigDecimal totalDrug = BigDecimal.ZERO;
    public BigDecimal proportionDrug = BigDecimal.ZERO;

    public BigDecimal directSanitaryMaterials = new BigDecimal(0);       // 卫生材料费
    public BigDecimal indirectSanitaryMaterials = new BigDecimal(0);       // 卫生材料费
    public BigDecimal totalSanitaryMaterials = BigDecimal.ZERO;
    public BigDecimal proportionSanitaryMaterials = BigDecimal.ZERO;
    
    public BigDecimal directFixed = new BigDecimal(0);
    public BigDecimal indirectFixed = new BigDecimal(0);
    public BigDecimal totalFixed = BigDecimal.ZERO;
    public BigDecimal proportionFixed = BigDecimal.ZERO;

    public BigDecimal directIntangible = new BigDecimal(0);
    public BigDecimal indirectIntangible = new BigDecimal(0);
    public BigDecimal totalIntangible = BigDecimal.ZERO;
    public BigDecimal proportionIntangible = BigDecimal.ZERO;

    public BigDecimal directRisk = new BigDecimal(0);
    public BigDecimal indirectRisk = new BigDecimal(0);
    public BigDecimal totalRisk = BigDecimal.ZERO;
    public BigDecimal proportionRisk = BigDecimal.ZERO;

    public BigDecimal directOther = new BigDecimal(0);
    public BigDecimal indirectOther = new BigDecimal(0);
    public BigDecimal totalOther = BigDecimal.ZERO;
    public BigDecimal proportionOther = BigDecimal.ZERO;

    public BigDecimal directSum = new BigDecimal(0);
    public BigDecimal indirectSum = new BigDecimal(0);
    public BigDecimal totalSum = BigDecimal.ZERO;
    public BigDecimal proportionSum = BigDecimal.ZERO;
    
    public BigDecimal inComeAmount = BigDecimal.ZERO;
    
    public BigDecimal surplus = BigDecimal.ZERO;

    public BigDecimal thisBillThisExe = BigDecimal.ZERO;                 // 本开本执
    public BigDecimal otherBillThisExe = BigDecimal.ZERO;                // 他开本执
    public BigDecimal thisBillOtherExe = BigDecimal.ZERO;                // 本开他执
}
